home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / dev / misc / egs.lha / EGS / EGS_Devels / doc / gbsets.doc < prev    next >
Text File  |  1993-02-16  |  1KB  |  78 lines

  1. /*
  2. *  $
  3. *  $ FILE     : gbsets.doc
  4. *  $ VERSION  : 1
  5. *  $ REVISION : 1
  6. *  $ DATE     : 08-Feb-93 10:02
  7. *  $
  8. *  $ Author   : mvk
  9. *  $
  10. *
  11. *
  12. * (c) Copyright 1990/93 VIONA Development
  13. *     All Rights Reserved
  14. *
  15. */
  16.  
  17. gbsets.library/EGB_CreateSetGadget
  18. gbsets.library/EGB_ModifySetGadget
  19.  
  20.  
  21.  
  22. gbsets.library/EGB_CreateSetGadget
  23. NAME
  24.   EGB_CreateSetGadget
  25.  
  26. SYNOPSIS
  27.   box  = EGB_CreateSetGadget(con, names, height, id);
  28.   D0                         A0   A1     D0      D1
  29.  
  30.   EB_GadBoxPtr    box;
  31.   EB_GadContext   con;
  32.   EB_StrArrayPtr  names;
  33.   WORD            height;
  34.   LONG            id;
  35.  
  36. FUNCTION
  37.   Creates a gadbox set gadget. These gadgets offer the user a number of non
  38.   exclusive choices. The result of the users action is represented in a 32 bit
  39.   number. Each bit is representing on of the items.
  40.  
  41. INPUTS
  42.   con    : Associated gadget context
  43.   names  : Array of strings. Each string represents one item.
  44.   height : Maximum number of elements in vertical rows.
  45.   id     : The gadgets id
  46.  
  47. RESULT
  48.  
  49.  
  50.  
  51.  
  52. gbsets.library/EGB_ModifySetGadget
  53. NAME
  54.   EGB_ModifySetGadget
  55.  
  56. SYNOPSIS
  57.   EGB_ModifySetGadget(win, gad, data);
  58.               A0   A1   A2
  59.  
  60.   EI_WindowPtr  win;
  61.   EI_GadgetPtr  gad;
  62.   ULONG         data;
  63.  
  64. FUNCTION
  65.   Changes the state of a set gadget. Each bit in data represents one item.
  66.  
  67. INPUTS
  68.   win   : The window that contains the gadget; if NULL, no refresh is done
  69.  
  70. RESULT
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.